using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._NetworkDiagramTools
{
    /// <summary>
    /// <para>Make Diagram Layer</para>
    /// <para>Creates a network diagram layer from a  network diagram.</para>
    /// <para>从网络逻辑示意图创建网络逻辑示意图图层。</para>
    /// </summary>    
    [DisplayName("Make Diagram Layer")]
    public class MakeDiagramLayer : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public MakeDiagramLayer()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Network</para>
        /// <para>The utility network or trace network the diagram is related to.</para>
        /// <para>与逻辑示意图相关的公共设施网络或追踪网络。</para>
        /// </param>
        /// <param name="_network_diagram_name">
        /// <para>Network Diagram Name</para>
        /// <para>The network diagram name.</para>
        /// <para>网络逻辑示意图名称。</para>
        /// </param>
        /// <param name="_out_layer">
        /// <para>Output Layer</para>
        /// <para><xdoc>
        ///   <para>The name of the diagram layer to be created.</para>
        ///   <para>The output diagram layer can be used as input to any geoprocessing tool that accepts a diagram layer as input, including the Store Diagram, Update Diagram, and Apply Smart Tree Layout tools.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>要创建的逻辑示意图图层的名称。</para>
        ///   <para>输出逻辑示意图图层可用作任何接受逻辑示意图图层作为输入的地理处理工具的输入，包括存储逻辑示意图、更新逻辑示意图和应用智能树布局工具。</para>
        /// </xdoc></para>
        /// </param>
        public MakeDiagramLayer(object _in_utility_network, object _network_diagram_name, object _out_layer)
        {
            this._in_utility_network = _in_utility_network;
            this._network_diagram_name = _network_diagram_name;
            this._out_layer = _out_layer;
        }
        public override string ToolboxName => "Network Diagram Tools";

        public override string ToolName => "Make Diagram Layer";

        public override string CallName => "nd.MakeDiagramLayer";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _network_diagram_name, _out_layer];

        /// <summary>
        /// <para>Input Network</para>
        /// <para>The utility network or trace network the diagram is related to.</para>
        /// <para>与逻辑示意图相关的公共设施网络或追踪网络。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Network Diagram Name</para>
        /// <para>The network diagram name.</para>
        /// <para>网络逻辑示意图名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Network Diagram Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _network_diagram_name { get; set; }


        /// <summary>
        /// <para>Output Layer</para>
        /// <para><xdoc>
        ///   <para>The name of the diagram layer to be created.</para>
        ///   <para>The output diagram layer can be used as input to any geoprocessing tool that accepts a diagram layer as input, including the Store Diagram, Update Diagram, and Apply Smart Tree Layout tools.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>要创建的逻辑示意图图层的名称。</para>
        ///   <para>输出逻辑示意图图层可用作任何接受逻辑示意图图层作为输入的地理处理工具的输入，包括存储逻辑示意图、更新逻辑示意图和应用智能树布局工具。</para>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_layer { get; set; }


        public MakeDiagramLayer SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}